package com.site.controller;

import com.site.common.R;
import com.site.common.annotation.Login;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Login注解
 * 登录
 */
@RestController
public class LoginController extends BaseController {

    @Login
    @GetMapping("/login")
    public R<String> login(){
        return R.ok();
    }
}
